<?php

use Illuminate\Database\Seeder;

class LinksTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
    	$data = [
    		[
    			'link_name' => '百度',
				'link_title' => '百度一下，你还是知道',
				'link_url' => 'http://www.baidu.com',
				'link_order' => 1,
			],
			[
				'link_name' => '科技邮报',
				'link_title' => '传递新鲜有趣的科技资讯',
				'link_url' => 'http://www.techpost.cn',
				'link_order' => 2,
			]
		];
		DB::table('links')->insert($data);
    }
}
